Fixed bugs with persistent sessions.
Fixed access issues in UsersBaseController actions.