[BUGFIX] Don't respect case of file extension for image extension check (refs #301)
[BUGFIX] Redirect to home page after logout