Refactor ActiveUserCache into SPI. Reorganize packages.
Fix issue where FailedAuthenticationException thrown before any user has signed up prevented any users from signing up.