Switched from flask-security to flask-login and passlib
Changes for appfog compatability, version 0.1