fix several swauth issues
fix else statement
missing end statement
fix consistent memcache hash issue by removing references to 127.0.0.1 for self
add empty memcache array
Merge pull request #7 from alanmeadows/ci_swauth_fixes

fix several swauth issues