No permission to access own resource



I just installed the 5.0.0 version and testing it. When i try to delete my account, it gives the following error

You are currently logged in as , but do not have permission to access .

Anyone came across this error? Why am i not allowed to access my own resource?