Added performance optimizations to quota and rights.

Don't update password on every pass