Testing login permissions.