fix redirect bug in ff
fix bug with cookie
Merge branch 'ba_new' of github.com:bitcoinaverage/bitcoinaverage into ba_new