Rearranged modules so that the auth section is last.

This is based on a suggestion from Yuri.
Merge pull request #13 from rangle/do-auth-last

Rearranged modules so that the auth section is last.