Add better handling of RPC errors.
Make AuthClient AMD-compatible.
Allow dependency loader to load from same plugin.
Add first cut at login modules.
Add sample login application.