Added a RequiresLogin exception.
Added a test that tests RateLimit exception.
Added RequiresLogin exception.