added reject callback so login error can be shown multiple times
added reject callback so login error can be shown multiple times

informatics-isi-edu/ermrestjs,informatics-isi-edu/ermrestjs,informatics-isi-edu/ermrestjs