Use count from UserService instead of CouchDB for active users
Fix NPE introduced by bab2d74
Move redirection handling for external services into separate method

/auth/services now returns the redirection URL instead of pointing
directly to the service.
Return apiPath for /configuration-Requests