Remove unused authorization code

The authorization is now handled in a different module