Move basic auth check

At the previous point not all apps were initialized. Now the basic auth check happens together at the same location as all others.

Fixes https://github.com/owncloud/core/issues/11129
Remove unused and overflowing function

Resolves https://github.com/owncloud/core/issues/10991 failure 4
Merge pull request #11130 from owncloud/moveBasicAuthCheck

Move basic auth check
Merge pull request #11151 from owncloud/removeOverflowingFunction

Remove unused and overflowing function
update encryption doc link

I don't know how we missed to update this :/

update ldap doc link
Merge pull request #11141 from owncloud/update_encrytionlink

update encryption doc link
[tx-robot] updated from transifex
HTTP authentication provider for ownCloud

A user backend which implements IApacheBackend. It checks
REMOTE_USER and trusts that the server has authenticated the
given user ID. Uses three cookies to do some somewhat
sophisticated state tracking that should allow for hybrid
configurations and handle logouts and lost ownCloud sessions
gracefully.
delete the auth token correctly after validating it
identify app correctly when catching exceptions
fix cleanup of server's copy of auth token after login/logout
tidy and compress httpauth.php a little, increase preauth priority

We probably want to try quite hard to get to getCurrentUserId()
when we're in state 'preauth', because at that point the client is
holding a very valuable piece of data (the auth token) which we
want to read in and unset in as tight a loop as possible to
reduce the chance of anyone being able to steal it somehow.